package com.nbsaas.boot.agent.rest.convert;

import com.nbsaas.boot.entity.agent.AgentModelProvider;
import com.nbsaas.boot.agent.api.domain.simple.AgentModelProviderSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* -列表对象转换器
*/

public class AgentModelProviderSimpleConvert implements Converter<AgentModelProviderSimple, AgentModelProvider> {




@Override
public AgentModelProviderSimple convert(AgentModelProvider source) {
    AgentModelProviderSimple result = new AgentModelProviderSimple();

                result.setNote(source.getNote());
                result.setName(source.getName());
                result.setAppKey(source.getAppKey());
                result.setId(source.getId());
                result.setAddDate(source.getAddDate());
                result.setUrl(source.getUrl());
                result.setLastDate(source.getLastDate());


    return result;
}

}